package dgut.haitaobao.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "category",autoResultMap = true)
public class Category {
    @TableId(value = "category_id",type = IdType.INPUT)
    private Integer categoryId;

    @TableField(value = "category_name")
    private String categoryName;

    @TableField(value = "category_level")
    private Integer categoryLevel;

    @TableField(value = "parent_id")
    private Integer parentId;

    @TableField(value = "category_icon")
    private String categoryIcon;

    @TableField(value = "category_slogan")
    private String categorySlogan;

    @TableField(value = "category_pic")
    private String categoryPic;

    @TableField(value = "category_bg_color")
    private String categoryBgColor;
}
